package cn.wbnull.springbootdemo.service;

import cn.wbnull.springbootdemo.enity.Direction;
import cn.wbnull.springbootdemo.enity.Player;
import cn.wbnull.springbootdemo.enity.Position;

import java.awt.*;

/*
 * @Author:大力王
 * @Date:2025/7/1-01-17:49
 * 开始了
 */
public interface PlyerService {
    Player getPlayer(String id, String name, Position startPos, Direction direction, Color color);

    /**
     * 获取玩家蛇
     */
    Position getHead();
}
